﻿#pragma once
#include "zyLayout.h"

namespace BlackMoonUI {

	class zyLayoutFlexGrid : public  zyLayout
	{
	public:
		zyLayoutFlexGrid();
		~zyLayoutFlexGrid();
		
	private:
		static void  WINAPI zyLayoutFlexGrid_Destroy(zyObject* obj);
		static LRESULT  WINAPI zyLayoutFlexGrid_WndProc(zyObject* obj, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL* bHandled);
		int zyLayoutFlexGrid_GetMinSize(zyObject* obj);
		void zyLayoutFlexGrid_Layout(zyObject* obj);
		int zyLayoutFlexGrid_GetWidthsAndHeights(zyObject* obj, std::vector<int>& width, std::vector<int>& height);
		int 列数(int 参数_列数);
		int 取行数();
	};

}

